/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bankaccount;

import javax.swing.JOptionPane;

/**
 *
 * @author INEZ
 */
public class BankAccountException extends Exception{
    public BankAccountException(){}
    
    public BankAccountException(String message){
        super(message);
        JOptionPane.showMessageDialog(null, message,"Failed",0);
    }
}
